<?php
session_start();
?>
<?php
require "lib/db.php";
require "lib/case-function.php";

if(isset($_GET['caseid'])){
	$caseID = $_GET['caseid'];
	settype($caseID,"int");
	deleteCase($caseID);
	header("location:list-case.php");
}
?>